﻿using System;
using System.Globalization;

   class testCompile
    {
        static void Main(string[] args)
        {
            CultureInfo provider = CultureInfo.InvariantCulture;
            string format = "M/d/yyyy";
            string strInput = "11/15/2010";
            string strOutput = DateTime.ParseExact(strInput, format, provider).ToShortDateString();
            Console.WriteLine("string Looks Like : {0}", strOutput);
        }
    }